// 
// Decompiled by Procyon v0.5.36
// 

package com.orange.boot.utils;

import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class IpAndPortUtil
{
    @Value("${server.port}")
    private String port;
    @Value("${ipAndPort}")
    private String ip;
    private static String ipPort;
    
    @PostConstruct
    public void setIpPort() {
        IpAndPortUtil.ipPort = this.ip + ":" + this.port;
    }
    
    public static String getIpAndPort() {
        return IpAndPortUtil.ipPort;
    }
}
